/* banner*/
.banner{

    #background{
        position: absolute;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: 150%;
        overflow: hidden;
        right: 0;
        bottom: 0;
        z-index: -9999;

        img{
            width: 100%;
            height: 150%;
        }
    }

    .box{
        text-align: center;
        padding: 10em 0 6.2em;

        .title{
            font-size: 3em;
            text-transform: uppercase;
            color: #999999;
            font-family: OSLight;

            span{
                color: #fcac45;
                font-family: OSBold;
            }
        }

        .info{
            font-family: OSLight;
            color: #999999;
            font-size: 1.4em;
            margin-bottom: 20em;

            span{
                font-family: OSBold;
            }
        }

        .more{
            a{
                display: inline-block;
                text-decoration: none;
                width: 3em;
                height: 3em;
                border: 1px solid #c3c3c3;
                color: #c3c3c3;
                border-radius: 50%;
                font-family: OSBold;
                line-height: 3em;
                text-align: center;
                font-size: 1.2em;
                transition: all linear 0.3s;

                &:hover{
                    transform: translateY(-10px);
                    box-shadow: 0px 0px 10px 0px #c3c3c3;
                }
            }
            

        }
    }

    @media screen and (max-width:1450px){
        & .box .info{
            margin-bottom: 12em;
        }
    }

    // 当最大宽度为1050px，最大高度为1400px时，视口高度为100vh
    @media screen and (max-width:1050px) and (max-height:1400px){
        &{
            height: 100vh;
        }
    }

    // 当最大宽度为780px，最大高度为1050px时，视口高度为90vh
    @media screen and (max-width:780px) and (max-height:1050px){
        height: 90vh;
    }

    // iphone6/7/8 plus
    @media screen and (max-width:450px){
        & .box .title{
            font-size: 2em;
            margin-bottom: 0.5em;
        }
    }

    // iphone X
    @media screen and (max-width:380px) and (max-height:850px) {
        & .box{
            padding-top: 13em;
        }
    }

    // iphone6/7/8
    @media screen and (max-width:380px) and (max-height:680px){
        & .box{
            padding-top: 5em;
        }
    }

    //  iphone5/iphoneSE
    @media screen and (max-width:350px) {
        & .box{
            padding-top: 5em;

            .info{
                margin-bottom: 10em;
            }
        }
    }
}

/* about*/
.about{
    padding: 5em 0;

    .container{
        display: flex;
        justify-content: space-between;

        .left{
            flex-shrink: 0;

            img{
                width: 100%;
            }
        }

        .right{

            .title{
                margin-bottom: 2em;

                .small{
                    font-family: OSLight;
                    color: #636363;
                    text-transform: uppercase;
                    font-size: 1.5em;
                    font-weight: bold;
                }

                .big{
                    font-family: OSLight;
                    color: black;
                    text-transform: uppercase;
                    font-size: 2.2em;
                    font-weight: bold;
                    white-space: nowrap;
                    overflow: hidden;

                    span:first-child{
                        border-bottom: 4px solid #fcac45;
                        padding-bottom: 0.3em;
                    }

                    span:last-child{
                        font-family: OSBold;
                    }
                }
            }

            .info{
                font-family: OSLight;
                color: #636363;
                font-size: 1.2em;
                font-weight: bold;
                margin-bottom: 2em;
            }

            .list{
                font-family: OSLtalic;
                color: #636363;
                margin-bottom: 2em;

                li{
                    background: url(../images/about-list-bg.png) no-repeat left center;
                    text-indent: 1.5em;
                    margin-bottom: 0.5em;
                    font-size: 1.2em;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    span{
                        font-family: OSBold;
                    }
                }

            }

            .more{
                display: flex;
                justify-content: left;
                padding: 1em;
                border: 1px solid #636363;
                width: 45%;
                border-radius: 3px;
                overflow-x: hidden;
                cursor: pointer;
                transition: all linear 0.3s;

                .icon{
                    margin-right: 0.5em;
                    flex-shrink: 0;
                }

                .name{
                    text-transform: uppercase;
                    font-size: 1em;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    margin-top: 1px;
                }

                &:hover{
                    box-shadow: 0px 5px 10px 0px #636363;
                }
            }
        }
    }

    @media screen and (max-width:1200px){
        & .container .left{
            flex-shrink: 0.4;
        }
    }

    @media screen and (max-width:1000px) {
        & .container {
            display: block;

            .left{
                display: none;
            }

            .right{
                .more{
                    width: 14em;
                }
            }
        }
    }

    @media screen and (max-width:400px){
        & .container{
            .right{

                .title{

                    .small{
                        font-size: 1.2em;
                    }

                    .big{
                        font-size: 1.5em;
                    }
                }
            }
        }
    }
}

/* team*/
.team{
    background: #070707;
    color: white;
    padding: 5em 0 2em;

    .subject{
        text-align: center;
        background: url(../images/title-background.png) no-repeat bottom center;
        padding-bottom: 1.5em;
        margin-bottom: 8em;

        .title{
            font-family: OSLight;
            font-size: 3em;
            text-transform: uppercase;

            span{
                font-family: OSBold;
            }
        }
    }

    .list{
        display: flex;
        justify-content: space-around;
        margin-bottom: 4em;

        .item{
            text-align: center;
            width: 20%;

            .thumb{
                border-radius: 100%;
                overflow: hidden;
                margin-bottom: 1.5em;
                transition: all linear 0.3s;

                &:hover{
                    transform: rotate(360deg);
                }
            }

            .content{

                .name{
                    font-family: OSBold;
                    font-size: 1.3em;
                }

                .job{
                    display: inline-block;
                    font-family: OSLight;
                    font-size: 1.1em;
                    margin-bottom: 1em;
                }

                .info{
                    font-family: OSLight;
                }
            }
        }
    }

    .more{
        display: flex;
        width: 6%;
        justify-content: space-around;
        margin: 0 auto;

        label{
            display: inline-block;
            width: 0.8em;
            height: 0.8em;
            background-color: white;
            cursor: pointer;
            transition: all linear 0.3s;

            &:hover{
                background-color: #fcac45;
            }
        }
    }

    @media screen and (max-width: 1450px) {
        & .more{
            width: 12%;
        }
    }

    @media screen and (max-width: 700px){
        & .list{
            flex-wrap: wrap;

            .item{
                width: 100%;
                display: flex;
                justify-content: space-between;
                margin-bottom: 2em;

                 .thumb{
                    width: 20%;
                    border-radius: 0;
                    margin-bottom: 0;
                    margin-right: 1em;
                    flex-shrink: 0;
                 }

                 .content{
                     text-align: left;
                     display: flex;
                     flex-wrap: wrap;
                     justify-content: space-between;

                     *{
                         width: 100%;
                     }

                     .job{
                         margin-bottom: 0;
                     }
                 }
            }
        }
    }   

    @media screen and (max-width: 500px) {
        & .list{
            .item{
                .thumb{
                    width: 30%;
                }
            }
        }
    }

    @media screen and (max-width: 480px) {
        & .list{
            .item{
                .thumb{
                    width: 43%;
                }
            }
        }

        & .more{
            width: 25%;
        }
    }

    @media screen and (max-width:390px){
        & .container .subject .title{
            font-size: 2em;
        }
    }
}

/* work*/
.work{
    padding: 5em 0em 2em;

    .subject{
        text-align: center;
        background: url(../images/title-background.png) no-repeat bottom center;
        padding-bottom: 1.5em;
        margin-bottom: 3em;

        .title{
            font-family: OSLight;
            font-size: 3em;
            text-transform: uppercase;

            span{
                font-family: OSBold;
            }
        }
    }

    .info{
        width: 85%;
        margin: 0 auto;
        color: #636363;
        font-family: OSLtalic;
        font-size: 1.1em;
        text-align: center;
        line-height: 1.7em;
        margin-bottom: 6em;

    }

    .typelist{

        .top{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2em;

            .left{

                .title{
                    font-family: OSBold;
                    font-size: 1.2em;
                    text-transform: uppercase;
                }
            }

            .right{

                a{
                    text-transform: capitalize;
                    color: #636363;
                    font-family: OSLight;
                    transition: all linear 0.2s;
                    font-size: 1.2em;
                    border-right: 1px solid #636363;
                    padding: 0em 1em;

                    &:last-child{
                        border-right: 0px;
                        padding-right: 0;
                    }
                }

                
            }
        }

        .list{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            .item{
                margin-bottom: 2em;

                img{
                    width: 100%;
                }
            }
        }
    }

    @media screen and (max-height: 1050px) and (max-width: 780px){

        & .typelist .list .item {
            width: 48%;
        }
    }

    @media screen and (max-width: 650px){

            & .subject{

                .title{
                    font-size: 2em;
                }
            }

            & .typelist{
                .top{
                    .left{
                        display: none;
                    }
                    
                    .right{
                        width: 100%;
                    }
                }

                .list{

                    .item{
                        width: 45%;
                    }
                }
            }
    }

    @media screen and (max-width: 470px){
            & .subject{

                .title{
                    font-size: 1.5em;
                }
            }

            & .info{
                width: 100%;
                margin-bottom: 3em;
            }

            & .typelist{

                .top{

                    .right{

                        a{
                            font-size: 0.5em;
                        }
                    }
                }
            }
    }
}

/* test*/
.test{
    background: #070707;
    color: #fff;
    padding: 5em 0em 2em;

    .subject{
        text-align: center;
        background: url(../images/title-background.png) no-repeat bottom center;
        padding-bottom: 1.5em;
        margin-bottom: 6em;

        .title{
            font-family: OSLight;
            font-size: 3em;
            text-transform: uppercase;

            span{
                font-family: OSBold;
            }
        }
    }

    .infolist{
        position: relative;
        height: 15em;
        width: 80%;
        margin: 0 auto;

        input{
            display: none;

            &:checked + .info{
                opacity: 1;
                z-index: 1;
            }
        }

        .info{
            position: absolute;
            top: 0;
            width: 100%;
            text-align: center;
            text-transform: uppercase;
            opacity: 0;
            z-index: -1;
            transition: all linear 0.3s;

            .content{
                color: #fff;
                font-family: OSBold;
                font-size: 1.2em;
                margin-bottom: 2em;

            }

            .name{
                font-family: OSLight;
                color: #999999;
                font-size: 1.1em;

                span{
                    font-family: OSBold;
                }
            }
        }

        .morebox{
            position: absolute;
            width: 100%;
            bottom: 0;
            left: 0;

            .more{
                display: flex;
                width: 6%;
                justify-content: space-around;
                margin: 0 auto;

                label{
                    display: inline-block;
                    width: 0.8em;
                    height: 0.8em;
                    background-color: #fff;
                    cursor: pointer;
                    transition: all linear 0.3s;
                }
            }
        }
    }

    @media screen and (max-width: 1000px){
        & .infolist .morebox .more {
            width: 7vw;
        }
    }

    @media screen and (max-width: 550px){
        & .subject{
            margin-bottom: 3em;

            .title{
                font-size: 1.5em;
            }
        }

        & .infolist{
            height: 17em;

            .morebox{

                .more{
                    width: 10vw;
                }
            }

        }
    }

    @media screen and (max-width: 470px){
        & .infolist {
            width: 100%;

            .info{

                .content{
                    height: 7em;
                    overflow-y: scroll;

                    &::-webkit-scrollbar{
                        width: 20px;
                        height: 8px;
                        
                    }

                    &::-webkit-scrollbar-thumb{
                        border-radius: 12px;
                        border: 8px solid rgba(0, 0, 0, 0);
                        box-shadow: 8px 0 0 rgba(175, 35, 35, 0.5) inset;

                        &:hover{
                            box-shadow: 8px 0 0 red inset;
                        }
                    }

                    
                }
            }

            .morebox{

                .more{
                    width: 15vw;
                }
            }
        }
    }



}

/* contact*/
.contact{
    padding: 5em 0em 2em;
        .subject{
            text-align: center;
            background: url(../images/title-background.png) no-repeat bottom center;
            padding-bottom: 1.5em;
            margin-bottom: 3em;

            .title{
                font-family: OSLight;
                font-size: 3em;
                text-transform: uppercase;

                span{
                    font-family: OSBold;
                }
            }
        }

        .info{
            width: 85%;
            margin: 0 auto;
            color: #636363;
            font-family: OSLtalic;
            font-size: 1.1em;
            text-align: center;
            line-height: 1.7em;
            margin-bottom: 6em;
        }

        .register{
            width: 85%;
            margin: 0 auto;

            .one{
                display: flex;
                justify-content: space-between;
                margin-bottom: 1.5em;
                .left,.right{
                    width: 48%;

                    .input{
                        height: 3em;
    
                        input{
                            width: 100%;
                            height: 100%;
                            line-height: 3em;
                            font-size: 1.2em;
                        }
                    }
                }

                
            }

            .two{
                margin-bottom: 1.5em;

                .title{
                    width: 100%;
                    display: block;
                    font-family: OSLight;
                    font-size: 1.2em;
                    color: #413f3f;
                    font-weight: bold;
                    margin-bottom: 0.3em;

                    sup{
                        color: red;
                    }
                }

                .input{
                    width: 100%;
                    height: 15em;

                    textarea{
                        width: 100%;
                        height: 100%;
                        font-size: 1.2em;
                    }
                }
            }

            .three{
                text-align: right;

                .send{
                    font-family: OSBold;
                    width: 10vw;
                    height: 3em;
                    line-height: 3em;
                    border: 0px;
                    background: #fcac45;
                    color: #fff;
                    font-size: 1.1em;
                    text-align: center;
                }
            }
        }
    

    @media screen and (max-width: 450px){
        .contact .register{
    
                    .two .input {
                        height: 8em;
                    }
    
                    .three {
                        text-align: center;
            
                        .send{
                            width: 35vw;
                        }
                    } 
        }
    }

    @media screen and (max-width: 500px){
        & .subject .title{
            font-size: 1.5em;
        }

        & .info{
            margin-bottom: 3em;
        }

        & .register{

            .one{
                flex-wrap: wrap;

                .left{
                    margin-bottom: 1em;
                }
            }

            .three{

                .send{
                    width: 25vw;
                }
            }
        }
    }

    @media screen and (max-width: 500px){
        & .register .one{
            .left,.right{
                width: 100%;
            }
        } 
    }




}

































